package com.cc.visitor.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author chanchaw
 * @create 2024-09-28 9:19
 */
public class VisitCategory implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id(keyType = KeyType.Auto)
    private Integer id;
    private String sid;
    private Integer state;
    private Integer isDelete;
    private Float seq;
    private String lastUser;
    private LocalDateTime lastTime;

    public VisitCategory() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Float getSeq() {
        return seq;
    }

    public void setSeq(Float seq) {
        this.seq = seq;
    }

    public String getLastUser() {
        return lastUser;
    }

    public void setLastUser(String lastUser) {
        this.lastUser = lastUser;
    }

    public LocalDateTime getLastTime() {
        return lastTime;
    }

    public void setLastTime(LocalDateTime lastTime) {
        this.lastTime = lastTime;
    }

    @Override
    public String toString() {
        return "VisitCategory{" +
                "id=" + id +
                ", sid='" + sid + '\'' +
                ", state=" + state +
                ", isDelete=" + isDelete +
                ", seq=" + seq +
                ", lastUser='" + lastUser + '\'' +
                ", lastTime=" + lastTime +
                '}';
    }
}
